package com.qf.mapper;

import com.qf.pojo.User;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Mr.Liu
 * @date 2021/12/14 21:24
 */
@Repository
public interface UserMapper {
    /*查找所有用户*/
    List<User> findAllUser();

    /**
     * 查询用户
     * @param tel
     * @return
     */
    User findUser(String tel);
}
